Skip to content

Prevent conflicts between pattern pull requests - #222

Merged
brunoborges merged 1 commit into
mainfrom
brunoborges-prevent-pattern-pr-conflicts
Aug 27, 2026
Merged

Prevent conflicts between pattern pull requests#222
brunoborges merged 1 commit into
mainfrom
brunoborges-prevent-pattern-pr-conflicts

Conversation

@brunoborges

Copy link
Copy Markdown
Member

Concurrent pattern pull requests currently edit reciprocal navigation links and aggregate social files, so merging one PR frequently makes the others conflict. This change moves those responsibilities out of shared contributor-owned files.

Approach

  • Replace stored prev/next links with per-pattern navigationOrder; the generator derives a deterministic global chain using the pattern key as a tie-breaker.
  • Split social/tweets.yaml into one reviewable draft per pattern under social/tweets/{category}/{slug}.yaml.
  • Convert social/queue.txt to a pending-only queue managed by serialized automation, with postedKeys tracking the current cycle.
  • Update validation, workflows, templates, specifications, and contributor guidance for the new model.

Migration notes

The migration preserves all 135 existing tweet drafts verbatim and keeps collections/map-entry-factory as the next scheduled post. It also establishes one complete navigation sequence for all 135 patterns, including the six patterns that were disconnected after the recent concurrent merges.

Derive navigation from per-pattern ordering, shard social drafts, and make the social queue automation-owned so pattern additions no longer edit shared files.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: a96222e0-ecf3-48eb-9141-4e52f0c61308
@brunoborges
brunoborges merged commit b178595 into main Aug 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant